@keyframes rotating {
  0% {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(1turn)
  }
}

@mixin bg-music-icon {
  position: absolute;
  z-index: 200;
  width: 30px;
  height: 30px
}

.bg-music-wrapper {
  right: 0;
  top: 0;
  @include bg-music-icon;

  .bg-music-btn {
    @include bg-music-icon;

    right: 0;
    top: 0;
    border-radius: 15px;
    background-image: url(./bg-music.svg);
    background-size: contain;
    background-repeat: no-repeat;

    &.rotate {
      animation: rotating 1.2s linear infinite;
    }
  }
}
